package com.miaoxie.domain.crawl;


import com.miaoxie.domain.MyEntity;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: miaoxie
 * Date: 2018-05-15
 * Time: 下午5:17
 */

@Entity
@Table(name = "news_list_datum")
public class NewsCrawlDatumEntity extends MyEntity {
    private static final long serialVersionUID = 8655851615465363473L;

//    @Id
//    @GenericGenerator(name="idGenerator",strategy="uuid")
//    String id;

    String title;

    String href_url;

    String outline;
//
//    public String getId() {
//        return id;
//    }
//
//    public void setId(String id) {
//        this.id = id;
//    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getHref_url() {
        return href_url;
    }

    public void setHref_url(String href_url) {
        this.href_url = href_url;
    }

    public String getOutline() {
        return outline;
    }

    public void setOutline(String outline) {
        this.outline = outline;
    }
}
